SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45202: The wrong data set is read with PROC SQL when concatenated libraries are used

DetailsCodeOutputAboutRate It

When you reference a libref that is a concatenation of multiple libraries, if members of the same name exist in more than one library, the first occurrence of the member is used for input and update processes. However, the SQL procedure (PROC SQL) skips a data set of that duplicated name in order to use an SQL view that is defined in a later library in the concatenation. For example, in the code that is provided on the Full Code tab of this SAS note, the DATA step uses the data set lib1.test as input while the PROC SQL step incorrectly uses the SQL view lib2.test as input.

There is no workaround for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M3 SP49.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.3 TS1M0
Microsoft Windows XP Professional9.1 TS1M3 SP49.3 TS1M0
Windows Vista9.1 TS1M3 SP49.3 TS1M0
Windows Vista for x649.1 TS1M3 SP49.3 TS1M0
64-bit Enabled AIX9.1 TS1M3 SP49.3 TS1M0
64-bit Enabled HP-UX9.1 TS1M3 SP49.3 TS1M0
64-bit Enabled Solaris9.1 TS1M3 SP49.3 TS1M0
HP-UX IPF9.1 TS1M3 SP49.3 TS1M0
Linux9.1 TS1M3 SP49.3 TS1M0
Linux on Itanium9.1 TS1M3 SP49.3 TS1M0
OpenVMS Alpha9.1 TS1M3 SP49.3 TS1M0
Solaris for x649.1 TS1M3 SP49.3 TS1M0
Tru64 UNIX9.1 TS1M3 SP49.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.